package cn.zclong.user.domain;

/*
 * User对应数据库
 */
public class User {
	private String uid;//唯一标识，主键
	private String username;//用户名
	private String password;//密码
	private String email;//邮箱
	private String code;//激活码
	private boolean state;//激活状态
	private String ip;//用户ip
	private int integral;//积分--注册时默认为10，发帖一次+10，回复一次+2
	private String type;//用户类型-默认注册时为1：1-普通用户，0-管理员
	public String getUid() {
		return uid;
	}
	public void setUid(String uid) {
		this.uid = uid;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public boolean isState() {
		return state;
	}
	public void setState(boolean state) {
		this.state = state;
	}
	public String getIp() {
		return ip;
	}
	public void setIp(String ip) {
		this.ip = ip;
	}
	public int getIntegral() {
		return integral;
	}
	public void setIntegral(int integral) {
		this.integral = integral;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	
	
	
}
